﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace rndbuddy_csourcer
{
    public partial class gui_settings : Form
    {
        public gui_settings()
        {
            InitializeComponent();
        }

        private void gui_settings_Load(object sender, EventArgs e)
        {
            lbl_version.Text = settings.version.ToString();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            lbl_cs_nodes.Text = crowdsourcer.amount_of_nodes().ToString();
            lbl_foundtotal.Text = crowdsourcer.total_found.ToString();
        }

        private void btn_report_nodepool_Click(object sender, EventArgs e)
        {
            server_pipe.report_crowdsourcer_data(true);
        }


    }
}
